package com.example.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.example.pojo.pojoenum.Education;
import com.example.pojo.pojoenum.Position;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.time.LocalDate;

@Data
public class TeacherInfo {
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @TableId
    private Long teacherId;
    private String teacherName;
    private Integer gender;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate dateOfBirth;
    private String phone;
    private String email;
    private String bindCode;
    private String teacherAvatar;
    private String address;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate hireDate;
    private Position position;
    private Education educationLevel;
    private String major;
    private Integer teachingExperience;
    private String expertise;
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long classId;
    private String remarks;
}
